<?php

	require_once '../../../Class/config.php';
	$objcfg = new config();
	require_once ($_SERVER["DOCUMENT_ROOT"]."/".$objcfg->objEnd."/Class/geral.php");

    $geral = new Geral();
    require_once ($geral->conexao());
    require_once ($geral->face());

    $objFac = new Face();

    $objFac->setId($_POST["id"]);
    $objFac->setModulo($_POST["mod"]);
    $objFac->setFaceDesc($_POST["desc"]);
    $objFac->setQuantNiveis($_POST["qtdeniveis"]);

    $objFac->alterar();

?>

